#include "EItemMetaProperty.h"
#include "EItemMeta.h"


void EItemMetaProperty::setPropertyValue(const EVariant& value)
{
    this->value = value;
    if(this->m_funGetProperty != NULL)
    {
        this->m_funSetProperty(this->m_owner, this->value);
    }
}

void EItemMetaProperty::getPropertyValue(EVariant& value)
{
    if(this->m_funGetProperty != NULL)
    {
        this->m_funGetProperty(this->m_owner, this->value);
    }

    value = this->value;
}

long EItemMetaProperty::getTag()
{
    return (long)this;
}
